package com.hs.sfzy.service;

import com.github.pagehelper.PageInfo;
import com.hs.sfzy.entity.AppointmentDTO;
import com.hs.sfzy.entity.Article;
import com.hs.sfzy.entity.Consult;

import java.util.List;

public interface ConsultService {
    //    插入数据
    int insert(Consult consult);
    List<Consult> findAll(Consult consult);
    PageInfo<Consult> selectByPageInfo(int pageNum,int pageSize,Consult consult);
    int update(Consult consult);
    int delete(Long id);
    Consult getById(Long id);

    List<Consult> getIdAndName();

//    查询单个咨询师的所有信息
    Consult selectSimpleById(Long id);

    List<Consult> findByInfo(AppointmentDTO appointmentDTO);
}
